package com.yq.cp.entity.basics;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 巡检点管理
 * </p>
 *
 * @author shenyuqing
 * @since 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_inspection_point_management")
public class InspectionPointManagement extends BaseEntity {

    private static final long serialVersionUID = 1L;



    /**
     * 站点id
     */
    private Long siteId;

    /**
     * 站点名
     */
    private String siteName;

    /**
     * 1-设备  2-其他  3-打卡点
     */
    private Integer type;

    /**
     * 巡检点名称
     */
    private String name;

    /**
     * 关联设备名
     */
    private String associatedDevicesName;

    /**
     * 关联设备id
     */
    private Long associatedDevicesId;

    /**
     * 巡检点位置
     */
    private String area;

    /**
     * 巡检项id
     */
    private String inspectionItemId;
    /**
     * 创建人
     */
    private String createName;

    /**
     * 巡检点-巡检项
     */
    @TableField(exist = false)
    private List<PointInspectionItems> pointInspectionItems;

    /**
     * 巡检项
     */
    @TableField(exist = false)
    private List<InspectionItemManagement> inspectionItemManagements;
}
